
<!--顶部 -->
<div class="top">
    <div class="wrap">
        <!--搜索 -->
        <span class="search pc">
			<i class="icon">&#xe607;</i>
			<span class="text">
				<input type="text" name="textfield" />
				<button>搜索</button>
			</span>
        </span>
        <!--搜索 -->

        <!--电话 -->
        <span class="tel">服务电话：4001580128</span>
        <!--电话 -->

        <!--微信 -->
        <span class="weixin">
			<i class="icon">&#xe64f;</i>
            <a href="{:url('user/Mx/login')}">
			     <em>官方微信</em>
              </a>
			<dl><img src="__TMPL__/public/html_assets/images/code.jpg" /></dl>
	  </span>
        <!--微信 -->

    </div>
</div>
<!--顶部 -->

<div class="clear"></div>

<!--头部 -->
<div class="header">
    <div class="wrap">

        <!--logo -->
        <div class="logo pc">
            <h1><img src="__TMPL__/public/html_assets/images/logo.png" /></h1>
            <p>12年专注研发<br />做有文化的语文课程</p>
            <h1><img src="__TMPL__/public/html_assets/images/logo2.png" /></h1>
        </div>
        <!--logo -->

        <!--wap logo -->
        <div class="wap-logo wap">
            <h2><img src="__TMPL__/public/html_assets/images/logo2.png" /></h2>
            <h1>
                <em><img src="__TMPL__/public/html_assets/images/logo.png" /></em>
                <p>12年专注研发做有文化的语文课程</p>
            </h1>

        </div>
        <!--wap logo -->

        <!--wap 导航 -->
        <div class="wap-nav wap">
            <i>&#xe601;</i>
        </div>
        <!--wap 导航 -->

        <!--登录 -->
        <div class="login pc">
            <php>$user=cmf_get_current_user();</php>
            <if condition="empty($user)">
                <a class="login_a" href="{:cmf_url('user/Login/index')}">
                    <i class="fa fa-sign-in"></i> &nbsp;登录
                </a>
                <a class="login_a" href="{:cmf_url('user/Register/index')}">
                    <i class="fa fa-user"></i> &nbsp;注册
                </a>
            <else/>
                <li class="dropdown pull-right" style="display: list-item;">
                    <a class="dropdown-toggle " data-toggle="dropdown" href="#">
                        <if condition="empty($user['avatar'])">
                            <img src="__TMPL__/public/assets/images/headicon.png" class="headicon">
                            <else/>
                            <img src="{:cmf_get_user_avatar_url($user['avatar'])}" class="headicon" width="30"/>
                        </if>
                        {$user['realname']}
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu pull-right" >
                        <li>
                            <a href="{:cmf_url('user/Profile/center')}">
                                <i class="fa fa-user fa-fw"></i> &nbsp;个人中心
                            </a>
                        </li>
                        <li>
                            <a href="{:url('jiaxiaotong/JiaXiaoTong/index')}">
                                <i class="fa fa-graduation-cap fa-fw"></i> &nbsp;家校通
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li >
                            <a href="{:cmf_url('user/Index/logout')}">
                                <i class="fa fa-sign-out fa-fw"></i> &nbsp;退出
                            </a>
                        </li>
                    </ul>
                </li>

            </if>
        </div>
        <!--登录 -->



        <!--导航 -->
        <div class="nav pc">
            <ul>
                <li><a href="#" class="now">首页</a></li>
                <li><a href="{:url('pages/pages/ourstory')}">我们的故事</a></li>
                <li><a href="#">课程体系</a></li>
                <li><a href="{:url('pages/pages/campus')}">学悦校区</a></li>
                <li><a href="#">学悦文苑</a></li>
                <!--<li><a href="{:url('jiaxiaotong/test/test')}">加入学悦</a></li>-->
                <li><a href="{:url('order/order/index')}">我要报名</a></li>
            </ul>
        </div>
        <!--导航 -->

    </div>
</div>
<!--头部 -->


<!--导航弹出 -->
<div class="nav-pop wap">
    <ul>
        <li><a href="#">首页</a></li>
        <li><a href="{:url('pages/pages/ourstory')}">我们的故事</a></li>
        <li><a href="#">课程体系</a></li>
        <li><a href="{:url('pages/pages/campus')}">学悦校区</a></li>
        <li><a href="#">学悦文苑</a></li>
        <!--<li><a href="#">加入学悦</a></li>-->
        <li><a href="{:url('order/order/index')}">我要报名</a></li>
    </ul>
</div>
<!--导航弹出 -->



<!--登录 -->
<div class="wap-login wap">
    <php>$user=cmf_get_current_user();</php>
        <if condition="empty($user)">
            <a href="{:cmf_url('user/Login/index')}">登录</a>
            <a href="{:cmf_url('user/Register/index')}">注册</a>
        <else/>
            <li class="dropdown" style="display: list-item;">
                <a class="dropdown-toggle " data-toggle="dropdown" href="#">
                    <if condition="empty($user['avatar'])">
                        <img src="__TMPL__/public/assets/images/headicon.png" class="headicon">
                        <else/>
                        <img src="{:cmf_get_user_avatar_url($user['avatar'])}" class="headicon" width="30"/>
                    </if>
                    {$user['realname']}
                    <b class="caret"></b>
                </a>
                <a href="{:cmf_url('user/Index/logout')}">
                    退出
                </a>
                <div class="clear"></div>
                <ul class="dropdown-menu pull-left" >
                    <li>
                        <a href="{:cmf_url('user/Profile/center')}">
                            <i class="fa fa-user fa-fw"></i> &nbsp;个人中心
                        </a>
                    </li>
                    <li>
                        <a href="{:url('jiaxiaotong/JiaXiaoTong/index')}">
                            <i class="fa fa-graduation-cap fa-fw"></i> &nbsp;家校通
                        </a>
                    </li>
                </ul>
            </li>
        </if>
</div>
<!--登录 -->

<div class="clear"></div>
